package com.rawchen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rawchen.entity.OperationLog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 操作日志持久层接口
 */
@Mapper
@Repository
public interface OperationLogMapper extends BaseMapper<OperationLog> {
	/**
	 * 根据给定时间段查询日志
	 *
	 * @param startDate 开始时间段
	 * @param endDate   结束时间段
	 */
	List<OperationLog> getOperationLogListByDate(String startDate, String endDate);
}
